package com.hwl.commonutils.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ParamsException extends RuntimeException {

    private String msg = "参数异常";

    public ParamsException() {
        super("参数异常！");
    }

    public ParamsException(String msg) {
        super(msg);
        this.msg = msg;
    }
}
